import Vue from "vue";
import Vuex from 'vuex'
Vue.use(Vuex)
const store = new Vuex.Store({
    state:{
        imgs:[{
            img:"decrease_4@2x.png"
        },
        {
            img:"discount_4@2x.png"
        },
        {
            img:"discount_4@2x.png"
        },
        {
            img:"special_4@2x.png"
        },
        {
            img:"special_4@2x.png"
        },
    ]
    },
    getters:{

    },
    mutations:{
            
    },
    actions:{
        async getdata(){
        let {data} = await this.$http.get("/api/getdata");
        return data
        },
    }
})

export default store;